using NUnit.Framework;
using Solution;

namespace Tests
{
    public class Tests
    {
        private Class1 c = new Class1();
        [SetUp]
        public void Setup()
        {
        }

        [Test]
        public void Test1()
        {
            Assert.AreEqual("bb",c.LongestPalindrome("abb"));
        }

        [Test]
        public void Test2()
        {
            Assert.AreEqual("bb",c.LongestPalindrome("bba"));
        }


        [Test]
        public void Test3()
        {
            Assert.AreEqual("bbbbbb", c.LongestPalindrome("bbbbbb"));
        }

        [Test]
        public void Test4()
        {
            Assert.AreEqual("bbccccbb", c.LongestPalindrome("aabbccccbbdd"));
        }


        [Test]
        public void Test5()
        {
            Assert.AreEqual("vcv", c.LongestPalindrome("avcvo"));
        }
    }
}